export function getXDate(beginDate, plusMonth) {
    let result = [];
    beginDate = new Date(beginDate);
    let { year, month } = {
      year: beginDate.getFullYear(),
      month: beginDate.getMonth() + 1,
    };

    for (let i = 1; i <= plusMonth; i++) {
      result.push(
        month % 12 == 0
          ? `${year++}/${(month++ % 12) + 12}/1`
          : `${year}/${month++ % 12}/1`
      );
    }
    return result;
  }